package device

import (
	"context"
	v1 "devops-super/api/product/v1"
	"devops-super/internal/service"
)

func (*ControllerV1) SendCmd(ctx context.Context, req *v1.DeviceSendCmdReq) (res *v1.DeviceSendCmdRes, err error) {
	res = &v1.DeviceSendCmdRes{}
	res, err = service.Device().SendCmd(ctx, req)
	return
}
